﻿using System.Collections.Generic;
using DAO;
using DTO;

namespace BUS
{
    public class LichSuNguoiDungBUS
    {
        public static List<LichSuNguoiDungDTO> getAll()
        {
            return LichSuNguoiDungDAO.getAll();
        }

        public static LichSuNguoiDungDTO getAlongCode(int maLSNguoiDung)
        {
            return LichSuNguoiDungDAO.getAlongCode(maLSNguoiDung);
        }

        public static void Insert(LichSuNguoiDungDTO _insert)
        {
            LichSuNguoiDungDAO.Insert(_insert);
        }

        public static void Delete(LichSuNguoiDungDTO _delete)
        {
            LichSuNguoiDungDAO.Delete(_delete);
        }

        public static void Update(LichSuNguoiDungDTO dto)
        {
            LichSuNguoiDungDAO.Update(dto);
        }
    }
}
